package com.hx.base.others;

/**
 * @author jxlgcmh
 * @create 2019-07-03 15:14
 */
public class FloatNumTest {
    public static void main(String[] args) {
        double d1 = 157.4;
        double d2 = 157.4;
        float f1 = 55f;
        float f2 = 55f;
        System.out.println(d1 == d2);
        System.out.println(f1 == f2);
    }
}
